setWebSocketConnectionTimeout

public void setWebSocketConnectionTimeout(int timeoutInSeconds)

Sets connection timeout for WebSocket. Value must be in seconds. If WebSocket tries to connect to the server and exceeds this time, the connection will be considered failed.

If trying to set a negative value. The default value of 3 will be set.

Since

6.7.0

Parameters

timeoutInSeconds

WebSocket connection timeout.